//
//  JYAPI.h
//  OneToOne
//
//  Created by Herui on 8/7/14.
//  Copyright (c) 2014 jiayuan. All rights reserved.
//

#ifndef OneToOne_JYAPI_h
#define OneToOne_JYAPI_h

#define TEST 0

#if TEST

// 线下测试使用接口

#define kAAAAAAAAAA @"18600869076"
#define kMMMMMMMMMM @"Jy666666"

// 新接口
// 更新接口
#define KurlCheckVersion            @"http://api.miuu.cn/vip/broker/versions.php"
// 注册
#define KUrlNewRegister             @"http://api.miuu.cn/vip/broker/register.php"
// 注册获取验证码
#define KUrlGetCode                 @"http://api.miuu.cn/vip/broker/register.php?action=get_code"
// 验证验证码
#define KUrlVerifyCode              @"http://api.miuu.cn/vip/broker/register.php?action=verify_code"
#define KUrlIDCardUpload            @"http://api.miuu.cn/vip/broker/idcard_upload.php"
// 服务中心列表
#define kUrlServiceCenterList       @"http://api.miuu.cn/vip/broker/service.php"
// 挂靠服务中心
#define kUrlChooseServiceCenter     @"http://api.miuu.cn/vip/broker/relyon.php"
// 重置密码
#define KUrlChangeNewPassword       @"http://api.miuu.cn/vip/broker/password.php"
// 忘记密码 获取验证码
#define KUrlForgetPwdGetCode        @"http://api.miuu.cn/vip/broker/forgetpass.php?action=send"
// 忘记密码 修改密码
#define KUrlChangePwdWithCode       @"http://api.miuu.cn/vip/broker/forgetpass.php?action=changepass"
// 更换手机 验证密码
#define KUrlVerifyPwd               @"http://api.miuu.cn/vip/broker/phone.php?action=verify_password"
// 更换手机 获取验证码
#define KUrlChangePhoneGetCode      @"http://api.miuu.cn/vip/broker/phone.php?action=get_code"
// 更换手机 验证验证码
#define KUrlChangePhoneVerifyCode   @"http://api.miuu.cn/vip/broker/phone.php"
// 登陆接口
#define kUrlLogin                   @"http://api.miuu.cn/vip/broker/login.php"
#define KUrlLoginGetCode            @"http://api.miuu.cn/vip/broker/login.php?action=login_code"
#define KUrlLoginCheckCode          @"http://api.miuu.cn/vip/broker/login.php?action=check_code"

// 合同列表接口
#define KUrlContractList            @"http://api.miuu.cn/vip/broker/contract_list.php"
// 约见记录接口
#define KUrlContactList             @"http://api.miuu.cn/vip/broker/contract_record.php"
// 编辑用户信息
#define KUrlEditUserInfo            @"http://api.miuu.cn/vip/broker/userinfo_edit.php"
// 检查面试结果
#define KUrlInterviewStatus         @"http://api.miuu.cn/vip/broker/user_interview_status.php"
// 绑定银行卡 获取验证码
#define KUrlCBindCardGetCode        @"http://api.miuu.cn/vip/broker/banding_bankcard.php?action=get_code"
// 绑定银行卡 验证验证码
#define KUrlCBindCardCheckCode      @"http://api.miuu.cn/vip/broker/banding_bankcard.php?action=verify_code"
// 绑定银行卡
#define KUrlBindCard                @"http://api.miuu.cn/vip/broker/banding_bankcard.php"
// 佣金分月列表
#define KUrlListMoney               @"http://api.miuu.cn/vip/broker/commission.php?action=list"
// 单月佣金列表
#define KUrlMonthListMoney          @"http://api.miuu.cn/vip/broker/commission.php?action=month_list"
// 单笔佣金详情
#define KUrlDetailMoney             @"http://api.miuu.cn/vip/broker/commission.php?action=detail"

// 意见反馈
#define kUrlFeedBack                @"http://api.miuu.cn/vip/broker/feedback.php"
// 投诉建议
#define kUrlComplaint               @"http://api.miuu.cn/vip/broker/complaint.php"

// 联系我们
#define KUrlContactUs               @"http://api.miuu.cn/vip/broker/contactus.php"
// 服务中心
#define KUrlShopDetailInfo          @"http://api.miuu.cn/vip/broker/userinfo_services.php"

#define kUrlBaiduMapImage           @"http://api.map.baidu.com/staticimage?width=640&height=288&zoom=18&markerStyles=l,1" // &center=%@,%@ // &markers=%@,%@
// 崩溃日志上传
#define KUrlActionBreak             @"http://api.miuu.cn/vip/service.php?action=break"
// 业务咨询列表
#define KUrlHelpCenter              @"http://api.miuu.cn/vip/broker/helpcenter.php"
// 新闻列表
#define KUrlNewsList                @"http://api.miuu.cn/vip/broker/news_list.php"
// 新闻详情
#define KUrlNewsDetail              @"http://api.miuu.cn/vip/broker/news_detail.php"

//add Tian
#define MESSAGE_DETIAL              @"http://api.miuu.cn/vip/broker/user_message.php"//消息详细页
#define RESOURCE_LIST               @"http://api.miuu.cn/vip/broker/customer_list.php"//通讯录列表更新
#define EDIT_ADD_RESOURCE           @"http://api.miuu.cn/vip/broker/customer_edit.php"//修改资料
#define ADD_RESOURCE                @"http://api.miuu.cn/vip/broker/customer_entry.php"//添加线索

#define RECORD_URL                  @"http://api.miuu.cn/vip/broker/customer_detail.php"//小记列表
#define DETAIL_URL                  @"http://api.miuu.cn/vip/broker/customer_content.php"//线索详情
#define APPLY_ASSIST                @"http://api.miuu.cn/vip/broker/apply_assistance.php"//协助谈单

#define ADD_RECORD                  @"http://api.miuu.cn/vip/broker/customer_connections.php"//添加小计

#define MESSAGE_LIST                @"http://api.miuu.cn/vip/broker/user_message_list.php"//消息详细页

#define APPLY_FOLLOW                @"http://api.miuu.cn/vip/broker/apply_follow.php"

#define ADD_CER                     @"http://api.miuu.cn/vip/broker/score_upload.php"//上传证书
#define SCORE_RECORD                @"http://api.miuu.cn/vip/broker/score_record.php"//积分详细
#define MY_SCORE                    @"http://api.miuu.cn/vip/broker/score_list.php"//我的积分列表

#else

// 线上使用接口
#pragma mark -
#pragma mark - 线上

// 更新接口
#define KurlCheckVersion            @"http://api2.jiayuan.com/vip/broker/versions.php"
// 注册
#define KUrlNewRegister             @"http://api2.jiayuan.com/vip/broker/register.php"
// 注册获取验证码
#define KUrlGetCode                 @"http://api2.jiayuan.com/vip/broker/register.php?action=get_code"
// 验证验证码
#define KUrlVerifyCode              @"http://api2.jiayuan.com/vip/broker/register.php?action=verify_code"
#define KUrlIDCardUpload            @"http://api2.jiayuan.com/vip/broker/idcard_upload.php"
// 服务中心列表
#define kUrlServiceCenterList       @"http://api2.jiayuan.com/vip/broker/service.php"
// 挂靠服务中心
#define kUrlChooseServiceCenter     @"http://api2.jiayuan.com/vip/broker/relyon.php"
// 重置密码
#define KUrlChangeNewPassword       @"http://api2.jiayuan.com/vip/broker/password.php"
// 忘记密码 获取验证码
#define KUrlForgetPwdGetCode        @"http://api2.jiayuan.com/vip/broker/forgetpass.php?action=send"
// 忘记密码 修改密码
#define KUrlChangePwdWithCode       @"http://api2.jiayuan.com/vip/broker/forgetpass.php?action=changepass"
// 更换手机 验证密码
#define KUrlVerifyPwd               @"http://api2.jiayuan.com/vip/broker/phone.php?action=verify_password"
// 更换手机 获取验证码
#define KUrlChangePhoneGetCode      @"http://api2.jiayuan.com/vip/broker/phone.php?action=get_code"
// 更换手机 验证验证码
#define KUrlChangePhoneVerifyCode   @"http://api2.jiayuan.com/vip/broker/phone.php"
// 登陆接口
#define kUrlLogin                   @"http://api2.jiayuan.com/vip/broker/login.php"
#define KUrlLoginGetCode            @"http://api2.jiayuan.com/vip/broker/login.php?action=login_code"
#define KUrlLoginCheckCode          @"http://api2.jiayuan.com/vip/broker/login.php?action=check_code"

// 合同列表接口
#define KUrlContractList            @"http://api2.jiayuan.com/vip/broker/contract_list.php"
// 约见记录接口
#define KUrlContactList             @"http://api2.jiayuan.com/vip/broker/contract_record.php"
// 编辑用户信息
#define KUrlEditUserInfo            @"http://api2.jiayuan.com/vip/broker/userinfo_edit.php"
// 检查面试结果
#define KUrlInterviewStatus         @"http://api2.jiayuan.com/vip/broker/user_interview_status.php"
// 绑定银行卡 获取验证码
#define KUrlCBindCardGetCode        @"http://api2.jiayuan.com/vip/broker/banding_bankcard.php?action=get_code"
// 绑定银行卡 验证验证码
#define KUrlCBindCardCheckCode      @"http://api2.jiayuan.com/vip/broker/banding_bankcard.php?action=verify_code"
// 绑定银行卡
#define KUrlBindCard                @"http://api2.jiayuan.com/vip/broker/banding_bankcard.php"
// 佣金分月列表
#define KUrlListMoney               @"http://api2.jiayuan.com/vip/broker/commission.php?action=list"
// 单月佣金列表
#define KUrlMonthListMoney          @"http://api2.jiayuan.com/vip/broker/commission.php?action=month_list"
// 单笔佣金详情
#define KUrlDetailMoney             @"http://api2.jiayuan.com/vip/broker/commission.php?action=detail"

// 意见反馈
#define kUrlFeedBack                @"http://api2.jiayuan.com/vip/broker/feedback.php"
// 投诉建议
#define kUrlComplaint               @"http://api2.jiayuan.com/vip/broker/complaint.php"
// 联系我们
#define KUrlContactUs               @"http://api2.jiayuan.com/vip/broker/contactus.php"
// 服务中心
#define KUrlShopDetailInfo          @"http://api2.jiayuan.com/vip/broker/userinfo_services.php"

#define kUrlBaiduMapImage           @"http://api.map.baidu.com/staticimage?width=640&height=288&zoom=18&markerStyles=l,1" // &center=%@,%@ // &markers=%@,%@
// 崩溃日志上传
#define KUrlActionBreak             @"http://api2.jiayuan.com/vip/service.php?action=break"
// 业务咨询列表
#define KUrlHelpCenter              @"http://api2.jiayuan.com/vip/broker/helpcenter.php"
// 新闻列表
#define KUrlNewsList                @"http://api2.jiayuan.com/vip/broker/news_list.php"
// 新闻详情
#define KUrlNewsDetail              @"http://api2.jiayuan.com/vip/broker/news_detail.php"

//add Tian
#define MESSAGE_DETIAL              @"http://api2.jiayuan.com/vip/broker/user_message.php"//消息详细页
#define RESOURCE_LIST               @"http://api2.jiayuan.com/vip/broker/customer_list.php"//通讯录列表更新
#define EDIT_ADD_RESOURCE           @"http://api2.jiayuan.com/vip/broker/customer_edit.php"//修改资料
#define ADD_RESOURCE                @"http://api2.jiayuan.com/vip/broker/customer_entry.php"//添加线索

#define RECORD_URL                  @"http://api2.jiayuan.com/vip/broker/customer_detail.php"//小记列表
#define DETAIL_URL                  @"http://api2.jiayuan.com/vip/broker/customer_content.php"//线索详情
#define APPLY_ASSIST                @"http://api2.jiayuan.com/vip/broker/apply_assistance.php"//协助谈单

#define ADD_RECORD                  @"http://api2.jiayuan.com/vip/broker/customer_connections.php"//添加小计
#define MESSAGE_LIST                @"http://api2.jiayuan.com/vip/broker/user_message_list.php"//消息详细页
#define APPLY_FOLLOW                @"http://api2.jiayuan.com/vip/broker/apply_follow.php"

#define ADD_CER                     @"http://api2.jiayuan.com/vip/broker/score_upload.php"//上传证书
#define SCORE_RECORD                @"http://api2.jiayuan.com/vip/broker/score_record.php"//积分详细
#define MY_SCORE                    @"http://api2.jiayuan.com/vip/broker/score_list.php"//我的积分列表



#endif

#endif
